package com.yanqu.road.server.cmd.cross.marriage;

import com.yanqu.road.server.cmd.base.AbstractCommand;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.gameplayer.GamePlayer;
import com.yanqu.road.server.manger.CrossMarriageGroupMgr;
import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.protocol.Protocol;


@Cmd(code = Protocol.S_CROSS_MARRIAGE_GROUP_RELOAD_NOTIFY, desc = "跨服分组reload通知")
public class CrossMarriageGroupReloadNotifyCmd extends AbstractCommand {

	@Override
	public boolean parseData(YanQuMessage packet) throws Exception {
		return true;
	}

	@Override
	public void execute(GamePlayer player, YanQuMessage packet) throws Exception {
		CrossMarriageGroupMgr.reloadServerGroup();
	}

	@Override
	public void sendData(GamePlayer player) {

	}
}
